<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="<%=basePath%>js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="<%=basePath%>js/menu/menu.js"></script>
<title>添加菜单</title>
</head>
<body>
	<form id="myForm" method="post" action="<%=path %>/menu/add">
		<input type="hidden" id="parrentId" name="parrentId" value="${parrentId}" disabled="disabled"/>
		<table>
			<tr>				
				<td>名称</td>
				<td><input id="name" name="name" value="${name}" /></td>
			</tr>			
			<tr>
				<td><input type="button" value="保存" onclick="addMenu()" /></td>
			</tr>
		</table>
	</form>
</body>
</html>
